<?
session_start();
$idconta = $_SESSION["idConta"];
//include "../conta/contaController.php";

$control = new ContaController();

//if(is_null($conta)){
  //  $conta = $control->buscarContaPorId($idconta);
//}

//require("contaController.php");

$control = new ContaController();
if (isset($_POST["enviar"])) {
    $control->tratarRequisicao("UPLOAD_FOTO");
}

?>

<html>
<head>
<title>Entrada de Imagens</title>
</head>
<body>
<form enctype='multipart/form-data' action='' method='POST'>
    <input type="hidden" name="id" value="<?=$idconta;?>"/>
<input type='file' name='foto' size='50'>
<input type='submit' name="enviar" value='Enviar'>
</form>
</body>
</html>


